import shoppinglistprediction.*;
import MatlabRuntimeInterface.Engine;

public class Main2 {
    public static void main(String[] args) {
	Engine engine = new MatlabRuntimeInterface.Engine();
	try {
	//     engine.open("matlab -nosplash");
// 	    engine.getOutputString(500);

// 	    engine.evalString("test_inlasn();");
// 	    engine.getOutputString(500);

// 	    engine.close();

	    AprioriCalculation ap = new AprioriCalculation("./","in/aconfig.txt","all3.csv","out/aprioripred.txt");
	    ap.aprioriProcess();
	}
	catch (Exception e) {
	    e.printStackTrace();
	}
    }
}